package com.feign.controller;

import com.feign.service.UserFeignService;
import com.netflix.discovery.converters.Auto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2017/6/24.
 */
@RestController
public class UserFeignController {

    @Autowired
    private UserFeignService userFeignService;

    @RequestMapping(value = "/user")
    public void getUserFeign(){
        userFeignService.sayUserService("aa");
    }

}
